package 设计模式.strategy;

public class WilldDuck extends Duck{
    @Override
    public void display() {
        System.out.println("野鸭");
    }

    public WilldDuck() {
        flyBehavior=new GoodFlyBehavior();
    }
}
